package com.wangsd.web.face.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wangsd.web.face.entity.Merchant;
import com.wangsd.web.face.entity.ServiceBusiness;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author generator
 * @since 2019-09-05
 */
public interface ServiceBusinessService extends IService<ServiceBusiness> {

    IPage<ServiceBusiness> selectList(Integer pageNum, Integer pageSize, ServiceBusiness serviceBusiness,String code);

    void addOrUpdate(ServiceBusiness serviceBusiness);

    List<Map> selectAllByUserCode(String code);

    List<ServiceBusiness> selectAllByCode(String code);

    List<ServiceBusiness> selectByCode(String code);

    ServiceBusiness selectBusinessByCode(String code);
}
